package com.heima.feigns.behavior;


import com.heima.model.behavior.pojos.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-behavior")
public interface CollectionFeign {
    /**
     * 查询行为实体
     */
    @PostMapping("/inset/ApBehaviorEntryController/")
    public ApBehaviorEntry findByUserIdOrEquipmentId(@RequestBody Integer userId, @RequestBody Integer equipmentId);

}
